package cn.iocoder.yudao.module.pm.controller.admin.qcrecords.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 过程管理-速冷处理记录 Response VO")
@Data
@ExcelIgnoreUnannotated
public class QcRecordsRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "3710")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "批次号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("批次号")
    private String batchCode;

    @Schema(description = "食品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @ExcelProperty("食品名称")
    private String foodName;

    @Schema(description = "速冷开始时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("速冷开始时间")
    private LocalDateTime startTime;

    @Schema(description = "速冷结束时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("速冷结束时间")
    private LocalDateTime endTime;

    @Schema(description = "结束中心温度", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("结束中心温度")
    private String centerTemp;

    @Schema(description = "食品开始温度", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("食品开始温度")
    private String initTemp;

    @Schema(description = "食品结束温度", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("食品结束温度")
    private String finalTemp;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}